package cn.wen.bases.dao.hibernate;

/**
 * Title：SQL逻辑运算
 * <p>
 * Description：
 * <p>
 * Copyright：Copyright (c) 2010-2012
 * 
 * @author <a href="mailto:ct_wen@qq.com">ctwen</a>, 温承瑭
 * @version Revision：1.0 Date：2010/7/21 Description：初完成。
 *          <p>
 */
public final class QL {

    /**
     * 关系运算式——大于
     */
    public final static String GT = " > ";

    /**
     * 关系运算式——小于
     */
    public final static String LT = " < ";

    /**
     * 关系运算式——等于
     */
    public final static String EQ = " = ";

    /**
     * 关系运算式——不等于
     */
    public final static String NE = " != ";

    /**
     * 关系运算式——大于或等于
     */
    public final static String GTorEQ = " >= ";

    /**
     * 关系运算式——小于或等于
     */
    public final static String LTorEQ = " <= ";

    /**
     * 关系运算式——不大于
     */
    public final static String NGT = " !> ";

    /**
     * 关系运算式——不小于
     */
    public final static String NLT = " !< ";

    /**
     * 模糊查询
     */
    public final static String LIKE = " like ";

    /**
     * 逻辑连接式——与
     */
    public final static String AND = " and ";

    /**
     * 逻辑连接式——或
     */
    public final static String OR = " or ";

    /**
     * 逻辑连接式——非
     */
    public final static String NOT = " not ";

    /**
     * 逻辑连接式——语句结束标记
     */
    public final static String END = " end ";
}
